package com.woniu.supermarket.service.impl;

import com.woniu.supermarket.entity.Shop;
import com.woniu.supermarket.mapper.ShopMapper;
import com.woniu.supermarket.service.IShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ShopServiceImpl implements IShopService {
    @Autowired
    ShopMapper shopMapper;

    @Override
    public List<Shop> findAll() {
        return shopMapper.selectAll();
    }
}
